package group2.mapper;

import group2.model.Admin;

import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 管理员登陆操作
 * @author 周祖航
 * @date 2020/8/17 001714:39
 **/
@Repository
public interface AdminMapper {
    //登陆
    public Admin adminForLogin(Admin admin);
    //查所有
    public List<Admin> adminForSelectAll();
    //删
    public boolean adminForDelete(int adminId);
    //增
    public boolean adminForAdd(Admin admin);
    //改
    public boolean adminForUpdate(Admin admin);

}
